package kr.bae.androidcomplete02.ch13;

import kr.bae.androidcomplete02.R;
import kr.bae.androidcomplete02.Ch11.Ch11_AMain;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebChromeClient.CustomViewCallback;

public class Ch13_AMain extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch13_amain);
	}
	
	public void mOnClick(View v) {
		Intent i = null;
		switch (v.getId()) {
		case R.id.ch13_main_btn01:	
			i = new Intent(this, ProgressBarEx.class);
			break;
			
		case R.id.ch13_main_btn02:	
			i = new Intent(this, ProgressTitle01.class);
			break;
			
		case R.id.ch13_main_btn03:	
			i = new Intent(this, ProgressTitle02.class);
			break;
			
		case R.id.ch13_main_btn04:	
			i = new Intent(this, SeekBarEx.class);
			break;
			
		case R.id.ch13_main_btn05:	
			i = new Intent(this, RatingBarEx.class);
			break;
			
		case R.id.ch13_main_btn06:	
			i = new Intent(this, SlidingDrawerEx.class);
			break;
			
		case R.id.ch13_main_btn07:	
			i = new Intent(this, WebViewEx.class);
			break;
			
		case R.id.ch13_main_btn08:	
			i = new Intent(this, SwitchEx.class);
			break;
			
		case R.id.ch13_main_btn09:	
			i = new Intent(this, SpaceEx.class);
			break;
			
		case R.id.ch13_main_btn10:	
			i = new Intent(this, NumberPickerEx.class);
			break;
			
		case R.id.ch13_main_btn11:	
			i = new Intent(this, CalendarViewEx.class);
			break;


		default:
			break;
		}
		startActivity(i);
	}
}
